﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Security.Cryptography;
using System.Security.Cryptography.X509Certificates;

namespace Ashwani.Cryptography.AsymmetricEncryption
{
    public interface IAsymmetricEncryptionProvider
    {
        byte[] Encrypt(byte[] plaintext, AsymmetricAlgorithm algorithm);
        byte[] Decrypt(byte[] ciphertext, AsymmetricAlgorithm algorithm);
    }
}
